package decorate;

/**
 * @description:
 * @author: ywk
 * @date: 2020-08-10
 */
public class SkillE extends Skills {
    private String skillName;
    public SkillE(Hero hero, String skillName) {
        super(hero);
        this.skillName = skillName;
    }

    @Override
    public void learnSkills() {
        System.out.println("学习了技能E:" + skillName);
        super.learnSkills();

    }
}
